import request from "../../utils/request"

export default {
    showMyHouse(hphone){
        return request({
            url:"/houseOwnerCenter/Myhouse",
            method: 'get',
            params: {
                hphone:hphone
            }
        })
    },
    updateMyInfo(hphone,myName,address,freetime){
        return request({
            url:"/houseOwnerCenter/UpdateMyInfo",
            method:'post',
            params:{
                hphone:hphone,
                myName:myName,
                address:address,
                freetime:freetime
            }
        })
    }
}